package com.heatup.apt.model.coupon;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * invite_coupon 邀请好友送券表
 *
 */
@TableName("invite_coupon")
public class InviteCoupon implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 优惠券Id，多张的时候就用#号分割 */
	@TableField(value = "coupon_id")
	private String couponId;

	/** 是否已获取，0 未获取 1 已获取 */
	@TableField(value = "is_geted")
	private Integer isGeted;

	/** 用户Id */
	@TableField(value = "user_id")
	private Integer userId;

	/** 获取时间 */
	@TableField(value = "get_time")
	private Date getTime;

	/** 创建时间 */
	@TableField(value = "created_time")
	private Date createdTime;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCouponId() {
		return this.couponId;
	}

	public void setCouponId(String couponId) {
		this.couponId = couponId;
	}

	public Integer getIsGeted() {
		return this.isGeted;
	}

	public void setIsGeted(Integer isGeted) {
		this.isGeted = isGeted;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getGetTime() {
		return this.getTime;
	}

	public void setGetTime(Date getTime) {
		this.getTime = getTime;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

}

